* lisp/progmodes/python.el:
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Wed, 25 Dec 2013 18:07:31 +0000 (15:07 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Wed, 25 Dec 2013 18:07:31 +0000 (15:07 -0300)
commit5bdd6d0dc874ab5cfcbfcb0d17cc59df1f494bf9
treeb9a58ea447ea75334da49c38eaa7a3cf7107d9f8
parent41ae02a49ed4c21c5f20d7ef8869062c94c2937d
* lisp/progmodes/python.el:
(python-nav--lisp-forward-sexp): New function.
(python-nav--lisp-forward-sexp-safe): Use it.  Rename from
python-nav-lisp-forward-sexp-safe.
(python-nav--forward-sexp): New argument SAFE allows switching
forward sexp movement behavior for parens.
(python-nav-forward-sexp): Throw errors on unterminated parens.
(python-nav-backward-sexp, python-nav-forward-sexp-safe)
(python-nav-backward-sexp-safe): New functions.
(python-shell-buffer-substring): Use
`python-nav-forward-sexp-safe'.

* test/automated/python-tests.el
(python-nav-lisp-forward-sexp-safe-1): Remove test.
(python-nav-forward-sexp-safe-1): New test.
lisp/ChangeLog
lisp/progmodes/python.el
test/ChangeLog
test/automated/python-tests.el